package com.kayang.common.exception;

import com.kayang.common.languages.MSGAlarm;

public class SPserviceException extends RuntimeException{
    private MSGAlarm alarm;

    public SPserviceException(MSGAlarm msgAlarm){
        this.alarm = msgAlarm;
    }

    public MSGAlarm getMSGAlarm(){
        return alarm;
    }
}
